home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 4 / ETO Development Tools 4.iso / Essentials / MacApp Documentation / MacApp.TECH$ Archives / 1990 / Nov 90 / MacApp.Tech$ 11⁄9⁄90 / 2333-Need help with SADE,-Nov90 < prev    next >
Encoding:
Text File  |  1991-03-06  |  1.9 KB  |  44 lines  |  [TEXT/GEOL]

  1. Item forwarded  by  FRED.FORSMAN to SUMIT
  2.  
  3. Item    1308367                         8-Nov-90        11:49PST
  4.  
  5. From:   D6502                           Focal Point Sys, M L Kary,PRT
  6.  
  7. To:     MACAPP.TECH$                    MacApp Technical
  8.  
  9. cc:     BETA                            Beta, Edward Anuff,PRT
  10.  
  11. Sub:    Need help with SADE, C++
  12.  
  13. Hello folks,
  14.  
  15. I am trying to use SADE to debug C++ with MacApp.  For my style of debugging,
  16. being able to step through the source code a line at a time and examine
  17. variables and data structures is absolutely essential.  Sure, you can insert
  18. print and break statements into the source, but that's a painful approach.
  19. Also, when so much is pre-compiled, as is MacApp, and compiling is so slow,
  20. there's got to be a better way.  Maybe I'm just spoiled from using the Think C
  21. debugger for so long.
  22.  
  23. My problem with SADE is that I can't get it to step into MacApp.  I have built
  24. my application with -sym, and that seems to be okay.  I believe that it must be
  25. linking with the version of MacApp that was built with -sym. I used the
  26. 'sourcepath' command to tell SADE where my source files are and where the
  27. MacApp source and interface files are, namely the 'Libraries' and the
  28. 'PInterfaces' folders.  I typed the 'sourcepath' command with no arguments, to
  29. confirm that SADE knows where the source is.  I did all the 'setupStepMethod'
  30. stuff that you're supposed to do (I think).  I can step into one of my own C++
  31. methods just fine.  But when I try to step into a MacApp method, such as
  32. TApplication.IApplication, I get an assembly language disassembly in my
  33. worksheet.  Selecting the routine name and using the 'Show Source' command
  34. gives me the message that the source cannot be found.
  35.  
  36. I assume that it should be possible to use SADE to step through MacApp,
  37. although I read somewhere that there is a problem when there is more than 64K
  38. lines of code.  Does anyone have any idea what I might be doing wrong?
  39.  
  40. Thanks,
  41. Loran Kary
  42. Focal Point Systems D6502
  43.  
  44.